package com.bojiu.lawsearch.lawsearch.service;

import com.bojiu.lawsearch.lawsearch.model.Label;
import com.bojiu.lawsearch.lawsearch.model.Page;
import com.bojiu.lawsearch.lawsearch.util.JsonResult;

/**
 * @author: afdiao
 * @Date：2020/3/8 17:24
 * @Description:
 */
public interface LabelService {
    Page<Label> getBackLabelList(int pageNum, int pageSize);

    JsonResult backInsert(Label label);

    JsonResult backUpdate(Label label, int id);

    void backDelete(int id);
}
